//导入实例对象request中instance= axios
// 抽取封装，统一管理请求api
import instance from './request'
// 统一api请求
// app底部 导航栏
export const Tabbar = () => instance.get('/tabbar')

// plblic 
// 搜索组件 搜索组件
export const RecommendList = () => instance.get('/api/search')
// 首页

// 首页数据
export const HomeData = () => instance.get('/home')
// 首页底部商品数据
export const HomeGoodsInfo = () => instance.get('/goodsList')

// 分类 侧边栏数据展示
export const SortAside = () => instance.get('/sort')

// 购物车 购物推荐 
export const CarGoods = () => instance.get('/goodsList')

// 我的 login登陆
export const Login = (params) => instance.post('/Login/user', params)
// 联系客服
export const ServeData = () => instance.get('/serveList')
// 订单
export const OrderList = (params) => instance.post('/order', params)
